import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)

export default new Router({
  routes: [

    {
      path: '/',
      component: () => import('@/pages/index/index'),
    },
    {
      path: '/login',
      name: 'login',
      component: () => import('@/pages/login/login'),
    },
    {
      path: '/register',
      component: () => import('@/pages/register/register'),
    },
    {
      path: '/information',
      component: () => import('@/pages/information/information'),
    },
    {
      path: '/my',
      component: () => import('@/pages/my/my'),
    },
    {
      path: '/myInfo',
      component: () => import('@/pages/myInfo/myInfo'),
    },
    {
      path: '/myBookInfo',
      component: () => import('@/pages/myBookInfo/myBookInfo'),
    },
    {
      path: '/rankList',
      component: () => import('@/pages/rankList/rankList'),
    },
    
    {
      path: '/seatpic',
      component: () => import('@/pages/seatpic/seatpic.vue'),
    },
    {
      path: '/timelist',
      component: () => import('@/pages/timelist/timelist.vue'),
    },
  ]
})
